﻿/*
 * Copyright (C) 2010 The MobileSecurePay Project
 * All right reserved.
 * author: shiqun.shi@alipay.com
 * 
 *  提示：如何获取安全校验码和合作身份者id
 *  1.用您的签约支付宝账号登录支付宝网站(www.alipay.com)
 *  2.点击“商家服务”(https://b.alipay.com/order/myorder.htm)
 *  3.点击“查询合作者身份(pid)”、“查询安全校验码(key)”
 */

package cn.com.winning.ecare.alipay;

//
// 请参考 Android平台安全支付服务(msp)应用开发接口(4.2 RSA算法签名)部分，并使用压缩包中的openssl RSA密钥生成工具，生成一套RSA公私钥。
// 这里签名时，只需要使用生成的RSA私钥。
// Note: 为安全起见，使用RSA私钥进行签名的操作过程，应该尽量放到商家服务器端去进行。
public  class Keys {

	//合作身份者id，以2088开头的16位纯数字
	private static   String DEFAULT_PARTNER = "2088511612351665";

	//收款支付宝账号
	private static   String DEFAULT_SELLER = "winning_pay@qq.com";

	//商户私钥，自助生成
	//public static final String PRIVATE = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDchNCzdpqdl7ohGUfbb813+sxU46711nSVD7MTnnzdc3wiSILHEVhuZzWjKJEyE0IWwifx7MiiXsXxUUmfWodrY1Xj1abYcGdEYrww2lAH6fqKMDNARZ5GRqYtw28YKaWesHaVWTLhk1DYxxsN2zB8o3W2aruT1b+R+Uma9W6J/QIDAQAB";
	private static  String PRIVATE="MIICXAIBAAKBgQDchNCzdpqdl7ohGUfbb813+sxU46711nSVD7MTnnzdc3wiSILHEVhuZzWjKJEyE0IWwifx7MiiXsXxUUmfWodrY1Xj1abYcGdEYrww2lAH6fqKMDNARZ5GRqYtw28YKaWesHaVWTLhk1DYxxsN2zB8o3W2aruT1b+R+Uma9W6J/QIDAQABAoGALtTN9a70ew9j6e+SgRmnSxmqF0UbPP5EV/uzjjEUV3tVG3rGuzwFybyFeZb97uKEII0vKoOcwE7cPrmCpyL0qwbK+VxgVx2gDj3l7zXh9xzIcFtfk8XQf3scvnU1g/uAEAjdZVv1hW9XsJajSI94gXbTRpPGwIiU/j6/o+x3KIkCQQDwMInhD25WIcsSp73a7Mk4LDOyP3nDJGbKCqqRQbgTaeaPfcOn5hV1gWzSdZ1ONexzHYdKGZvSw367ZpZhZ+U/AkEA6wjNS1coN8oqqczEmCRbmGT++rwPGfWjFv94axZJvQ+ezWcQuGuiyfPEt2X/O7JoLVB4RvoawDA5SL20H5NVwwJBALoUkK1I/C1EjwRL6j1yls2rCP3+SUISsIO00cIpTQfVUqc2Qt+P1G4tr/Y44n7WLfJdHRQeVOdrR4K+DqE2EZcCQH4+khb/z8h3vQbLyGV4UgK/bP48+VeWS23U91d990moFEJ8M8z7c8tKNsXT8Y6dO7vrV0+4k5nbzUk3LIMxXoUCQBla17CJ/AMXcmiY1oOAzEc0KdlwsLF4ho5T2Gt8bEkTjjqnH67o5mHr6zuHtwT/Wht+4qHzc1TBkTGua5SE6UI=";
	private static  String PUBLIC = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCnxj/9qwVfgoUh/y2W89L6BkRAFljhNhgPdyPuBV64bfQNN1PjbCzkIM6qRdKBoLPXmKKMiFYnkd6rAoprih3/PrQEB/VsW8OoM8fxn67UDYuyBTqA23MML9q1+ilIZwBC2AQ2UBVOrFXfFl75p6/B5KsiNG9zpgmLCUYuLkxpLQIDAQAB";
	
	
	
	public static String getDEFAULT_PARTNER() {
		return DEFAULT_PARTNER;
	}
	public static void setDEFAULT_PARTNER(String dEFAULT_PARTNER) {
		DEFAULT_PARTNER = dEFAULT_PARTNER;
	}
	public static String getDEFAULT_SELLER() {
		return DEFAULT_SELLER;
	}
	public static void setDEFAULT_SELLER(String dEFAULT_SELLER) {
		DEFAULT_SELLER = dEFAULT_SELLER;
	}
	public static String getPRIVATE() {
		return PRIVATE;
	}
	public static void setPRIVATE(String pRIVATE) {
		PRIVATE = pRIVATE;
	}
	public static String getPUBLIC() {
		return PUBLIC;
	}
	

	
	
	
}
